
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar" width="100%"  >单位基本信息</td>
	</tr>
	<tr>
		<td width="10%" nowrap align="right">企业名称：</td>
		<td colspan='5' width="90%"><input type="hidden"
			name="organizations/organization[0]@submit_org" value="1"> <input
			type="hidden" name="organizations/organization[0]@sequence_no"
			value="1"> <input type="hidden"
			name="organizations/organization[0]/org_code"
			value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>">
			<span name="organizations/organization[0]/cname"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_name" />
		</span></td>
	</tr>
	<tr>
		<td width="10%"  align="right">法定代表人：</td>
		<td width="20%">&nbsp;<span name="organizations/organization[0]/legal_cname"><x:out
					select="$xmlData/data/organization_persons/person[@type='faren']/cname" />
		</span>&nbsp;</td>
		<td width="10%"  align="right">证件号码：</td>
		<td width="20%">&nbsp;<span name="organizations/organization[0]/legal_id_no"><x:out
					select="$xmlData/data/organization_persons/person[@type='faren']/id_no" />
		</span>&nbsp;</td>
		<td width="10%"  align="right">手机：</td>
		<td width="30%">&nbsp;<span name="organizations/organization[0]/legal_mobile"><x:out
					select="$xmlData/data/organization_persons/person[@type='faren']/mobile" />
		</span>&nbsp;</td>
	</tr>

	<tr>
		<td align="right" width="10%" nowrap>企业联系人：</td>
		<td width="20%"><span name="proposal/contact_name"><x:out
					select="$xmlData/data/organization/contact_info/contact_name" />&nbsp;
		</span></td>
		<td align="right" width="10%" nowrap><span class="color_red">*</span>部门：</td>
		<td colspan='4' width="60%"><input name="proposal/contact_depart_name" maxlength="50" class="required" label="部门" value="<x:out
					select="$xmlData/data/proposal/contact_depart_name" />"/>&nbsp;</td>
	</tr>
	<tr>
		<td align="right" width="10%" nowrap><span class="color_red">*</span>职务：</td>
		<td width="20%"><input name="proposal/contact_position" maxlength="50" class="required" label="职务" value="<x:out
					select="$xmlData/data/proposal/contact_position" />"/>&nbsp;
		</span></td>
		<td align="right" width="10%" nowrap>办公电话：</td>
		<td width="20%"><span name="proposal/contact_tel"><x:out
					select="$xmlData/data/organization/contact_info/contact_tel" />&nbsp;
		</span></td>
		<td align="right" nowrap width="10%"><span class="color_red">*</span>QQ：</td>
		<td width="30%"><input name="proposal/contact_qq" class="required" onfocus="InitInput.setNumber(this,13,0,0)"
			label="企业联系人QQ" maxlength="50"
			value="<x:out select="$xmlData/data/proposal/contact_qq" />" /></td>
	</tr>
	<tr>

		<td align="right" width="10%" nowrap>手机：</td>
		<td width="20%"><span name="proposal/contact_mobile"><x:out
					select="$xmlData/data/organization/contact_info/contact_mobile" />&nbsp;
		</span></td>
		<td align="right" width="10%" nowrap>传真：</td>
		<td width="20%"><span name="proposal/contact_fax"><x:out
					select="$xmlData/data/organization/contact_info/contact_fax" />&nbsp;
		</span></td>
		<td align="right"  width="10%" nowrap>E-mail：</td>
		<td width="30%"><span name="proposal/contact_email"><x:out
					select="$xmlData/data/organization/contact_info/contact_email" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right" width="10%">法人代码：</td>
		<td width="20%"><span name="organizations/organization[0]/org_no"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_no" />
		</span></td>
		<td nowrap align="right" width="10%">注册时间：</td>
		<td width="20%"><span name="organizations/organization[0]/registe_date">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_date" />
		</span></td>
		<td nowrap align="right" width="10%">注册地点：</td>
		<td width="30%"><span name="organizations/organization[0]/address"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/address" />
		</span></td>

	</tr>
	<tr>
		<td nowrap align="right" width="10%"><span class="color_red">*</span>企业主管税务所（国税）：</td>
		<td width="20%"><input name="proposal/tax_internal_no_address"
			class="required" maxlength="50" label="企业主管税务所（国税）"
			value="<x:out
					select="$xmlData/data/proposal/tax_internal_no_address" />" /></td>
		<td nowrap align="right" width="10%">国税登记证号：</td>
		<td width="20%"><span name="organizations/organization[0]/tax_internal_no"><x:out
             select="$xmlData/data/organizations/organization[@submit_org=1]/tax_internal_no" />
		</span></td>
		<td nowrap align="right" width="10%">注册资金：</td>
		<td width="30%"><span name="organizations/organization[0]/registe_fund">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund" />万<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund_money_name" />
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right" width="10%"><span class="color_red">*</span>企业主管税务所（地税）：</td>
		<td width="20%"><input name="proposal/tax_local_no_address" class="required" maxlength="50"
			label="企业主管税务所（地税）"
			value="<x:out
					select="$xmlData/data/proposal/tax_local_no_address" />" /></td>
		<td nowrap align="right" width="10%">地税登记证号：</td>
		<td width="20%"><span
			name="organizations/organization[0]/tax_local_no"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/tax_local_no" />
		</span>&nbsp;</td>
		<td nowrap align="right" width="10%"><span class="color_red">*</span>实收资本：</td>
		<td width="30%" nowrap><input name="proposal/real_budget" label="实收资本"
			onfocus="InitInput.setNumber(this,7,4,2)" style="text-align: right;"
			class="required"
			value="<x:out select="$xmlData/data/proposal/real_budget" />" />万元</td>
	</tr>
	<tr>
		<td nowrap align="right" width="10%">开户银行：</td>
		<td width="20%"><span name="organizations/organization[0]/bank_orgname">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_orgname" />
		</span></td>
		<td nowrap align="right" width="10%">银行账号：</td>
		<td width="20%"><span name="organizations/organization[0]/bank_account">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_account" />
		</span></td>
		<td nowrap align="right" width="10%">信用等级：</td>
		<td width="30%"><span name="organizations/organization[0]/bank_credit">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_credit" />
		</span></td>
	</tr>

	<tr>
		<td nowrap align="right" width="10%">注册类型：</td>
		<td width="20%"><span name="organizations/organization[0]/nature_name">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/nature_name" />
		</span></td>
		<td nowrap align="right" width="10%">单位网址：</td>
		<td colspan="3"><span name="organizations/organization[0]/http"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/http" />
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right" width="10%"><span class="color_red">*</span>实际控制人：</td>
		<td colspan="5" width="90%"><input name="proposal/real_name" label="实际控制人"
			class="required" maxlength="20"
			value="<x:out select="$xmlData/data/proposal/real_name" />" /></td>
	</tr>
	<tr>
		<td  align="right" colspan="2"><span class="color_red">*</span>目前是否有意向风险投资机构欲投资企业：</td>
		<td><c:set var="is_enterprise_value"><x:out select="$xmlData/data/proposal/is_enterprise_value" /></c:set>
		<cpt:select id="is_enterprise" key="boolean"
				value="${is_enterprise_value}"
				onChange="isEnterprise('is_enterprise')" className="required"
				label="目前是否有意向风险投资机构欲投资企业"></cpt:select> <input type="hidden"
			id="is_enterprise_value" name="proposal/is_enterprise_value"
			value="${is_enterprise_value}" /> <input type="hidden"
			name="proposal/is_enterprise_name"
			value="<x:out select="$xmlData/data/proposal/is_enterprise_name" />" />
		</td>
		<td id="is_enterprise1" style="display: none" align="right"><span
			class="color_red">*</span>投资机构名称：</td>
		<td id="is_enterprise2" style="display: none" colspan="2"><input
			id="is_enterprise3" name="proposal/enterprise_name" maxlength="50"
			label="投资机构名称"
			value="<x:out select="$xmlData/data/proposal/enterprise_name" />" />
		</td>
		<td id="is_enterprise4" colspan="3">&nbsp;</td>
	</tr>
	<tr>
		<td nowrap align="right" width="10%" nowrap><span class="color_red">*</span>意向投资金额：</td>
		<td width="20%" nowrap><input name="proposal/yxtz_budget" label="意向投资金额"
			type="text" required class="input_css required"
			style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/proposal/yxtz_budget" />" />万元</td>
		<td nowrap align="right" width="10%"  nowrap><span class="color_red">*</span>意向投资时间：</td>
		<td nowrap width="20%"><c:set var="yxtz_date"><x:out select="$xmlData/data/proposal/yxtz_date" /></c:set>
		<cpt:date id="yxtz_date" name="proposal/yxtz_date" value="${yxtz_date}" className="required date" label="意向投资时间"></cpt:date>&nbsp;
		</td>
		<td align="right" nowrap width="10%"><span class="color_red">*</span>企业是否属于留学生企业：</td>
		<td width="30%"><c:set var="is_overseas_student_value"><x:out select="$xmlData/data/proposal/is_overseas_student_value" /></c:set>
		<cpt:select id="is_overseas_student" key="boolean" value="${is_overseas_student_value}" className="required" label="企业是否属于留学生企业"></cpt:select>
		<input type="hidden" name="proposal/is_overseas_student_value" value="${is_overseas_student_value}" /> 
		<input type="hidden" name="proposal/is_overseas_student_name" value="<x:out select="$xmlData/data/proposal/is_overseas_student_name" />" />
		</td>
	</tr>
	<tr>
		<td width="" nowrap align="right">主营业务及主要产品：</td>
		<td colspan='5'><span
			name="organizations/organization[0]/opt_scope"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/opt_scope" />
		</span></td>
	</tr>
	</table>
	<table class="t_css" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>主要供应商（请列示5家）：</td>
	<td colspan="5">
	<input name="proposal/provider" maxlength="100" class="input_css required" style="width:500px" label="主要供应商" value="<x:out select="$xmlData/data/proposal/provider" />" />
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>主要客户（请列示5家）：</td>
	<td colspan="5">
	<input name="proposal/customers" maxlength="100" class="input_css required" style="width:500px" label="主要客户" value="<x:out select="$xmlData/data/proposal/customers" />" />
	</td>
	</tr>
	<tr>
		<td nowrap align="right" valign="middle"><span class="color_red">*</span>所属行业：</td>
		<td nowrap colspan="5" valign="middle"><label> <input
				type="checkbox" class="do " id="advant_01"
				style="vertical-align: middle;" name="domain" label="新能源"
				value="01" /><span style="vertical-align: middle;">新能源</span>
		</label> <label> <input type="checkbox" class="do " id="domain_02"
				style="vertical-align: middle;" name="domain" label="新材料"
				value="02" /><span style="vertical-align: middle;">新材料</span>
		</label> <label> <input type="checkbox" class="do " id="domain_03"
				style="vertical-align: middle;" name="domain" label="节能环保"
				value="03" /><span style="vertical-align: middle;">节能环保</span>
		</label> <label> <input type="checkbox" class="do " id="domain_04"
				style="vertical-align: middle;" name="domain" label="生物医药"
				value="04" /><span style="vertical-align: middle;">生物医药</span>
		</label> <label> <input type="checkbox" class="do " id="domain_05"
				style="vertical-align: middle;" name="domain" label="互联网"
				value="05" /><span style="vertical-align: middle;">互联网</span>
		</label> <label> <input type="checkbox" class="do " id="domain_06"
				style="vertical-align: middle;" name="domain" label="先进装备" value="06" /><span
				style="vertical-align: middle;">先进装备</span>
		</label> <label> <input type="checkbox" class="do " id="domain_07"
				style="vertical-align: middle;" name="domain" label="电子信息" value="07" /><span
				style="vertical-align: middle;">电子信息</span>
		</label><label> <input type="checkbox" class="do " id="domain_08"
				style="vertical-align: middle;" name="domain" label="物联网" value="08" /><span
				style="vertical-align: middle;">物联网</span>
		</label><label><input type="checkbox" class="do " id="domain_09"
				style="vertical-align: middle;" name="domain" label="智能电网" value="09"/><span
				style="vertical-align: middle;">智能电网</span>
		</label><label> <input type="checkbox" class="do " id="domain_10"
				style="vertical-align: middle;" name="domain" label="数字文化" value="10" /><span
				style="vertical-align: middle;">数字文化</span>
		</label><label> <input type="checkbox" class="do " id="domain_11"
				style="vertical-align: middle;" name="domain" label="其他 " value="11" /><span
				style="vertical-align: middle;">其他 </span>
		</label>
		<input type="hidden" name="proposal/basic/domain_value"
			id="domain_value" class="required"
			value="<x:out select="$xmlData/data/proposal/basic/domain_value" />"
			label="所属行业" /> <input type="hidden"
			name="proposal/basic/domain_name" id="domain_name"
			value="<x:out select="$xmlData/data/proposal/basic/domain_name" />"
			label="所属行业" /></td>
	</tr>

</table>
<br>
<div class="t_bar">主要股东</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01">
	<thead>
		<tr>
			<th align="center" width="5%" nowrap>序号</th>
			<th align="center" width="40%" nowrap>主要股东名称</th>
			<th width="20%" align="center">股东出资额（万元）</th>
			<th width="20%">出资形式</th>
			<th width="15%">所占股份比例（%）</th>

		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach
			select="$xmlData/data/organization_shareholders/shareholder"
			var="shareholder">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]@sequence_no">${index+1}</span>
				</td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/cname">
						<x:out select="$shareholder/cname" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_amount">
						<x:out select="$shareholder/invest_amount" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_type_name">
						<x:out select="$shareholder/invest_type_name" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_percent">
						<x:out select="$shareholder/invest_percent" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>



<script type="text/javascript">
	$(document).ready(function() {
		isEnterprise("is_enterprise_value");
	});
	function isEnterprise(id) {
		var value = $("#" + id).val();

		if (value == 1) {
			$("#is_enterprise1").show();
			$("#is_enterprise2").show();
			$("#is_enterprise3").addClass("required");
			$("#is_enterprise4").hide();
		} else {
			$("#is_enterprise1").hide();
			$("#is_enterprise2").hide();
			$("#is_enterprise3").removeClass("required");
			$("#is_enterprise4").show();
			$("#is_enterprise3").val("");
			
		}
	}
</script>